<template>
	<web-view :src="url+'#wechat_redirect'" @load="webLoad" @error="webError" />
</template>

<script>
export default {
	data() {
		return {
			url: ''
		};
	},
	onLoad(option) {
		this.url = option.url;
	},
	onShow() {},
	methods: {
		webLoad(e) {
			// console.log(e);
		},
		webError(e) {
			// console.log(e);
		}
	}
};
</script>

<style lang="less"></style>
